<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<title>submit video</title>
<link rel="stylesheet" type="text/css" href="../resource/css/screen.css" />
<link href="${pageContext.request.contextPath}/resource/css/uploadify.css"
     rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/swfobject.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/jquery.uploadify.v2.1.0.js"></script>
<style type="text/css">
.lightbox{width:400px;background:#FFFFFF;border:1px solid #ccc;line-height:25px; top:20%; left:20%;}
.lightbox dt{background:#f4f4f4; padding:5px;}
.lightbox dd{
   padding-left:30px;
   }
.submit_one{
	width:400px;
	float:left;
}
#table_con{
	float:left;
	padding-left:50px;
}
.submit_box{
 width:350px;
}
.submit_pic{
	float:right;
	padding-top:5px;
}
</style>
</head>

<body>
    <div id="a">
    <div class="wrap">
         <div class="header">
              <div class="logo">
                 <a href="#"><img alt="logo" src="../resource/images/brand.gif" /></a>
              </div>
               <ul id="nav">
                 <li class="nav_image "><a title="Picture" href="initialUploadPicture.action"><img alt="image" src="../resource/images/image.gif" /></a></li>
                 <li class="nav_video nav_current"><a title="Video" href="initialUploadVideo.action"><img alt="video" src="../resource/images/video.gif" /></a></li>
                 <li class="nav_audio"><a title="Audio" href="initialUploadAudio.action"><img alt="audio" src="../resource/images/audio.gif" /></a></li>
                 <li class="nav_model"><a title="Model" href="initialUploadModel.action"><img alt="model" src="../resource/images/model.gif" /></a></li>
                 <li class="nav_action"><a title="Activity" href="initialUploadActivity.action"><img alt="action" src="../resource/images/action.gif" /></a></li>              </ul>
              <div style="float:right;">
                  <a href="/shuzi/sz/bgVideo.action?isAdmin=1" class="link" style="color: rgb(0, 85, 200); font-size: 14px; position: relative; top: -23px; left: -26px;">资源浏览</a>
              <a href="/shuzi/sz/manager.action" style="background:url(../resource/images/control.gif) no-repeat left top; display:inline-block;height:56px;width:140px;"></a>
              </div>
         </div>

         <div class="content">


             <div class="submit_one">

                 <p class="submit_title">您可以同时上传多个文件，一次最多5个文件。</p>

                 <div class="submit_box">
                    <p id="select_type">
                    </p>
                    <input id="infoURL" type="hidden" value="${pageContext.request.contextPath}/sz/addVideoInfo.action" >
                    <input id="URL" type="hidden" value="${pageContext.request.contextPath}/sz/uploadVideo.action" >
                     <%--<img alt="choose file" src="../resource/images/choose_file.gif" />--%>
                    <form  method="post" target="upload_target" enctype="multipart/form-data">
                       <input type="file" name="files" id="fileupload" />
                         <div id="fileQueue"></div>
                       <a id="sureUpload" href="#"><img alt="确认上传" src="../resource/images/submit_insure.gif" /></a>
                        <a href="javascript:$('#fileupload').uploadifyClearQueue()"><img src="../resource/images/cancel.gif"/> </a>
                     <%--<a href="javascript:$('#fileupload').uploadifyUpload();">Upload Files</a>--%>
                     </form>
                     <p id="messTips" style="display:none;text-align:center;"><strong>温馨提示</strong>：在上传之后还将进行入库操作，请耐心等待...<br /><img src="${pageContext.request.contextPath}/resource/images/waiting.gif" /></p>
                     <p id="idList">

                    </p>

             </div>
         </div>
         			<div id="table_con">
			</div>
 			<table id="template_ta" class="video_detail" style="float:none; display:none;">
 				<tr><td colspan="2"></td></tr>
                         <tr>
                            <td class="td_title">名称：<input type="hidden" name="pic_id" /></td>
                            <td><input type="text" name="pic_name" value="" /></td>
                         </tr>
                <tr>
                  <td class="td_center">描述：</td>
                  <td><textarea name="note"></textarea></td>
                </tr>
                <tr>
                	<td colspan="2">
                	<a class="submit_pic" href=""><img src="../resource/images/submit.gif" /></a>
                	</td>
                </tr>
     </table>
    <div class="footer">
           <span>&copy;</span><span>电子科技大学数字媒体研究所</span><span>All rights reserved</span>
           <span>&#124;</span><span>Powered by Dreamfly</span>
         </div>
    </div>

        </div>
        <script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/uploadVideo.js"></script>
</body>
</html>
